﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using UcAsp.Net.Comm;
namespace UcAsp.Net.Web.Controllers
{
    public class UserDefinedController :BaseController
    {
        //
        // GET: /UserDefined/

        public ActionResult Index(string userdefined)
        {
            BLL.SettingConfig.Theme(Request.UserAgent);
            Model.UserDefined model = BLL.UserDefinedConfig.GetUserDefined(userdefined);
            if (model == null)
                throw new Exception("模块不存在");
            return View(model.DefinedView,model);
        }

    }
}
